
(define s (make-control-spec 0 10 'linear))	; => <control-spec>

;; The <control-spec> name can be retrieved.

(control-spec-name s)				; => linear

;; The operation to move from [0,1] space to the user defined space is
;; control-spec-map.

(control-spec-map s 0.5)			; => 5.0

;; control-spec-map clips input values to lie in [0,1].

(control-spec-map s 2)				; => 10.0

;; The inverse operation is control-spec-unmap.

(control-spec-unmap s 5)			; => 1/2

;; control-spec-unmap clips output values to lie in [0,1].

(control-spec-unmap s -1)			; => 0.0

(map control-spec-map 
     (make-list 6 s)
     (iota 6 0 1/5))			; => (0 2 4 6 8 10.0)
